import request from '../../../apis/axios'

// 上传接口
export function fetchUpload({url,method, data, apiHeader}) {
  const config = {
    url,
    method,
    data
  }
  if(apiHeader){
    config.headers = apiHeader
  }
  return request(config)
}